<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
    <!-- 1.原生js进行事件绑定时有没有()函数
    2.onchange是失去焦点时才触发。oninput是
   3.在js中只需要进行事件绑定就会有默认的even
   4.可以进行手动的event事件对象 -->
    <input oninput="jsEvent(event,'xxxx')" />
      <script>
        function jsEvent(e, xxx) {
            console.log('js事件', xxx, e, event);
        }
      </script>
</body>
</html>